package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/27 0027.
 */

public class CartCartlist_Info {

    @Override
    public String toString() {
        return "CartCartlist_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"sid":38,"sname":"故宫店铺","goodslist":[{"cartid":1013,"uid":232,"sid":38,"oid":111,"money":"6.00","num":1,"name":"益肝灵片","sname":"故宫店铺","img":"/upload/goods/201809/15361167199628.jpg","recipe":0,"collection":0},{"cartid":1015,"uid":232,"sid":38,"oid":109,"money":"120.00","num":1,"name":"天麻首乌片","sname":"故宫店铺","img":"/upload/goods/201809/15361159668137.jpg","recipe":0,"collection":0},{"cartid":1016,"uid":232,"sid":38,"oid":101,"money":"18.90","num":1,"name":"洁尔阴洗液","sname":"故宫店铺","img":"/upload/goods/201809/1536112485_8400.jpg","recipe":1,"collection":0}]},{"sid":43,"sname":"山东大药房","goodslist":[{"cartid":1014,"uid":232,"sid":43,"oid":110,"money":"8.50","num":1,"name":"肌苷片","sname":"山东大药房","img":"/upload/goods/201809/15361164959081.jpg","recipe":0,"collection":0}]}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "sid=" + sid +
                    ", sname='" + sname + '\'' +
                    ", goodslist=" + goodslist +
                    '}';
        }

        /**


         * sid : 38
         * sname : 故宫店铺
         * goodslist : [{"cartid":1013,"uid":232,"sid":38,"oid":111,"money":"6.00","num":1,"name":"益肝灵片","sname":"故宫店铺","img":"/upload/goods/201809/15361167199628.jpg","recipe":0,"collection":0},{"cartid":1015,"uid":232,"sid":38,"oid":109,"money":"120.00","num":1,"name":"天麻首乌片","sname":"故宫店铺","img":"/upload/goods/201809/15361159668137.jpg","recipe":0,"collection":0},{"cartid":1016,"uid":232,"sid":38,"oid":101,"money":"18.90","num":1,"name":"洁尔阴洗液","sname":"故宫店铺","img":"/upload/goods/201809/1536112485_8400.jpg","recipe":1,"collection":0}]
         */

        private int sid;
        private String sname;
        private List<GoodslistBean> goodslist;

        public int getSid() {
            return sid;
        }

        public void setSid(int sid) {
            this.sid = sid;
        }

        public String getSname() {
            return sname;
        }

        public void setSname(String sname) {
            this.sname = sname;
        }

        public List<GoodslistBean> getGoodslist() {
            return goodslist;
        }

        public void setGoodslist(List<GoodslistBean> goodslist) {
            this.goodslist = goodslist;
        }

        public static class GoodslistBean {

            @Override
            public String toString() {
                return "GoodslistBean{" +
                        "cartid=" + cartid +
                        ", uid=" + uid +
                        ", sid=" + sid +
                        ", oid=" + oid +
                        ", money=" + money +
                        ", num=" + num +
                        ", name='" + name + '\'' +
                        ", sname='" + sname + '\'' +
                        ", img='" + img + '\'' +
                        ", recipe=" + recipe +
                        ", collection=" + collection +
                        '}';
            }

            /**
             * cartid : 1013
             * uid : 232
             * sid : 38
             * oid : 111
             * money : 6.00
             * num : 1
             * name : 益肝灵片
             * sname : 故宫店铺
             * img : /upload/goods/201809/15361167199628.jpg
             * recipe : 0
             * collection : 0
             */

            private int cartid;
            private int uid;
            private int sid;
            private int oid;
            private float money;
            private int num;
            private String name;
            private String sname;
            private String img;
            private int recipe;
            private int collection;

            public int getCartid() {
                return cartid;
            }

            public void setCartid(int cartid) {
                this.cartid = cartid;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getSid() {
                return sid;
            }

            public void setSid(int sid) {
                this.sid = sid;
            }

            public int getOid() {
                return oid;
            }

            public void setOid(int oid) {
                this.oid = oid;
            }

            public float getMoney() {
                return money;
            }

            public void setMoney(float money) {
                this.money = money;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSname() {
                return sname;
            }

            public void setSname(String sname) {
                this.sname = sname;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public int getRecipe() {
                return recipe;
            }

            public void setRecipe(int recipe) {
                this.recipe = recipe;
            }

            public int getCollection() {
                return collection;
            }

            public void setCollection(int collection) {
                this.collection = collection;
            }
        }
    }
}
